<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
  <title>Test Case for Issue #2462</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<body>

<h1>Issue #2462</h1>

<p>This test-case is intended for <a href="http://code.google.com/p/fbug/issues/detail?id=2462">Issue #2462</a>
- <span class="h3">The firebug console still shows the xhr in progress if you abort it (via request.abort())</span>.
<br/>
<i>Jan Odvarko, odvarko@gmail.com</i>
</p>

<ol>
<li>Open Firebug and enable the Console panel.</li>
<li>Make sure <i>Show XMLHttpRequests</i> option is on.</li>
<li>Click on the <code style="color:green">Execute Test</code> button below.</li>
<li>Check the XHR entry. The request must be red (aborted) and the
    progress spinner stoppped.</li>
</ol>

<button id="testButton" onclick="onExecuteTest()">Execute Test</button>

<script type="text/javascript">
function onExecuteTest()
{
    var request = new XMLHttpRequest();
    request.open("POST", "issue2462.php", true);
    request.send(null);
    request.abort();
}
</script>

</body>
</html>
